<template>
  <div class="app-container">
    <div class="dashboard-text">

      首页
    </div>
  </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
  created() {
    // this.getData();
  },
  name: "Dashboard",
  computed: {
    ...mapGetters(["name"]),
  },
  data() {
    return {};
  },
  methods: {
    getData() {
      this.$api
        .post("/admin/user/list", { recordPerpage: 9999 })
        .then((res) => {
          console.log(res);
        });
    },
  },
};
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
